#ifndef __RFSS_MANAGER_HEADER_FILE_23429343__
#define __RFSS_MANAGER_HEADER_FILE_23429343__

#include <string>
#include "OSTimer.h"
#include "UpdateOnlineNum.h"

using namespace std;

class CRfssManager : public OSTask
{
public:
	enum{
		kPROGVSUSRS = 1,
		kREADCONFXML = 2,
		kUpdate = 3
	};

private:
	CRfssManager();
public:
	virtual ~CRfssManager();
	static CRfssManager* GetInstance();
	static Bool DelInstance();

	Bool Initialize();
	
	Bool Destroy();
	
protected:
	Bool Run();

	void	DoUpdate();
	//Member Data

private:
	static CRfssManager		*m_pcManager;
#if 0
	Timer_T					m_ProgmVsUsrsTimer;
	Timer_T				m_ReadConfXMLTimer;
#endif
	Timer_T					m_UpdateTimer;
	
	Bool					m_isRun;
	OSMutex					m_isRunMutex;
	//web service
	string m_esid;
	string m_weburl;
};


#endif

